 
<script type="text/javascript">
 $('#{{dbname}} .info-box-content').append('<span class="info-box-number"> '+
          					'<span>分片异常</span> '+
					        '<span {% if shard_count != "0" %}style="color:red"{% endif %}>{{ shard_count }}</span> '+
					    '</span> ')
</script>